The highlighted statement is only valid within a program and cannot be used in the Immediate window. In general - The following nonexecutable statements cannot be used in the Immediate window: COMMON, CONST, DATA, DECLARE, DIM, OPTION, SHARED, STATIC, and TYPE - The following metacommands cannot be used: $INCLUDE, $DYNAMIC, $STATIC - The following other statements cannot be used: REDIM, SUB...END SUB, FUNCTION...END FUNCTION, DEF FN...END DEF, ELSE IF, END IF, END TYPE ERR Code: 12